package com.dongzhu1428.express.module1.entity;

import java.io.Serializable;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.Builder;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2022-11-10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = false)
public class Deliveryman implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    *  快递员id
    */
    @TableId("`id`")
    private Integer id;

    /**
    *  用户id
    */
    @TableField("`user_id`")
    private Integer userId;

    /**
    *  好评数
    */
    @TableField("`like_num`")
    private Integer likeNum;

    /**
    *  差评数
    */
    @TableField("`dislike_num`")
    private Integer dislikeNum;


    /**
     *  快递员手机号
     */
    @TableField("`phone`")
    private String  dPhone;

}
